#ifndef MAIN_INTERFACE_H
#define MAIN_INTERFACE_H

#include <QMainWindow>
#include <QStandardItemModel>

QT_BEGIN_NAMESPACE
namespace Ui {
class MainInterface;
}
QT_END_NAMESPACE

class MainInterface : public QMainWindow
{
    Q_OBJECT

public:
    MainInterface(QWidget *parent = nullptr);
    ~MainInterface();

private:
    Ui::MainInterface *ui;

    //treeView
private:
    QStandardItemModel* mModel;

private:
    void GetNode();
    void GetItem(QStandardItem *item);
    void initializeTreeView();

//treeview
private:
    void initializeTreeWidget();

};
#endif // MAIN_INTERFACE_H
